package com.younion.business;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.younion.common.exception.BaseException;
import com.younion.common.paginator.Paginator;
import com.younion.vo.ActiveVO;

public interface IActiveService {

	public ActiveVO selectActiveById(int id) throws BaseException;

	public boolean updateActiveByMap(Map paramMap) throws BaseException;

	public boolean deleteActiveById(int id) throws BaseException;

	public boolean deleteActiveByIds(List list) throws BaseException;

	public int selectCountByMap(Map paramMap) throws BaseException;

	public List selectForPage(Map condition, Paginator paginator)
			throws BaseException;

	public Integer insertByVo(ActiveVO activeVO) throws BaseException;

	public List<ActiveVO> selectByIds(List list) throws BaseException;

	public void updateTopById(Map map) throws BaseException;

	public int selectMaxTop() throws BaseException;

	public List<ActiveVO> selectActivitysByCardMap(Map map) throws BaseException;
	
	public Collection getApiAll(Map map) throws Exception;
	
	public ActiveVO getById(String id) throws Exception;

	public boolean deleteImgByCustomerIds(List<String> customerIds , String path) throws BaseException;
}
